<!DOCTYPE html>
<html lang="es-419">
<head>
	<meta charset="utf-8">	
	<meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content=".:.Red de Gesti&oacute;n de Profesores y Estudiantes.:.">
	<meta name="author" content="Network Team">
	
    <title>.:.Red de Gesti&oacute;n de Profesores.:.</title>
	
	<script src="js/jquery-1.10.2.js"></script>
    <script src="js/bootstrap-3.1.1.js"></script>

	<link href="css/bootstrap-3.1.1.css" rel="stylesheet">	
	<link href="css/bootstrap-theme-3.1.1.css" rel="stylesheet">
	<link href="css/offcanvas.css" rel="stylesheet">
	
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
</head>

<body>

    <!-- INICIO DEL MENU PRINCIPAL -->
	<div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
			<span class="icon-bar"></span>			
          </button>
          <a class="navbar-brand" href="IngresoUsuario.jsp">Red GEPES</a>
        </div>
              <div class="collapse navbar-collapse">
              <ul class="nav navbar-nav">
	          <li class="dropdown">
	            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Consultas <b class="caret"></b></a>
	            <ul class="dropdown-menu">
	              <li><a href="Historia10-1.jsp">Registra Nueva Consulta</a></li>
	              <li><a href="Historia10-2.jsp">Ver Consultas</a></li> 	              
	            </ul>
	          <li class="active"><a href="principal.jsp">Cerrar Sesi&oacute;n</a></li>
	           </div><!-- /.nav-collapse -->
      </div><!-- /.container -->
    </div><!-- /.navbar -->
	<!-- FIN DEL MENU PRINCIPAL -->

<div class="container">
 	
 	<div class="row">
	  	<%@ page import="gepes.servlet.ProfesorNuevo"%>
				<%@ page import="gepes.modelo.Usuario"%>
				<%@ page import="gepes.modelo.SubCategoria"%>
				<%@ page import="java.util.*"%>

		
		<%
			HttpSession Misessionzz = request.getSession();
			if (Misessionzz.getAttribute("USUARIO_ACTUAL") == null) {
		%>
		<jsp:forward page="login.jsp">
			<jsp:param name="MENSAJE" value="Es
		obligatorio identificarse" />
		</jsp:forward>
		<%
			} else {

				Usuario pr =(Usuario) Misessionzz.getAttribute("USUARIO_ACTUAL") ;
				 %>
				 <h3><b>Bienvenido Usuario <%=pr.getApepaterno()%> <%=pr.getApematerno()%> <%=pr.getNombre()%></b></h3><hr>
				<%
				
			}
		%>
		   
	</div>
	</div>

</body>

</html>